home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10753 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.nevada.edu!not-for-mail
  2. From: kesslert@nevada.edu (Troy Kessler)
  3. Newsgroups: comp.lang.c++
  4. Subject: C++ Mouse Programing Question
  5. Date: 10 Mar 1996 01:54:19 GMT
  6. Organization: University of Nevada System Computing Services
  7. Message-ID: <4htcob$m03@news.nevada.edu>
  8. NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
  9. X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
  10.  
  11. Subject: C++ Mouse Programing Question
  12. Newsgroups: comp.lang.c++
  13. Organization: University of Nevada System Computing Services
  14. Summary: 
  15. Keywords: 
  16. Lines: 16
  17. X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
  18.  
  19. I got the mouse.h file from oak.oakland.edu and I trying to use it with 
  20. Turbo c++ for dos 3.0 (made by borland).
  21. I would like to make a menu with 5 choices and make it so the user the 
  22. user must use a mouse. How do I find out if the mouse has been clicked 
  23. and where the cursor is. I am guessing it would look like
  24. if (50>posx>30 && 50>posy>30 && mouseclick)
  25. {
  26. .
  27. .
  28. .
  29. }
  30. But how do I get posx, posy, and mouseclick.
  31.  
  32. Please Email if you know how to do this.
  33.  
  34. Thank You
  35.